﻿using System;
using Rainbow.ObjectFlow.Framework;
using Rainbow.ObjectFlow.Interfaces;

namespace Rainbow.Demo.Objectflow.Client
{
    class Program
    {
        static void Main(string[] args)
        {
            var coffeeCustomerWorkflow = new CoffeeCustomerService();
            var customerState = new CustomerState();

            coffeeCustomerWorkflow.Start(customerState);

            Console.WriteLine(customerState.ToString());

            Console.WriteLine("\r\nPress any key");
            
            Console.ReadKey();
        }
    }
}
